<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>MolTK C++ API: moltk::units::Quantity&lt; U, Y &gt; Struct Template Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  <td id="projectlogo"><img alt="Logo" src="moltk55.png"/></td>
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">MolTK C++ API
   &#160;<span id="projectnumber">0.4.0</span>
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespacemoltk.html">moltk</a>      </li>
      <li class="navelem"><a class="el" href="namespacemoltk_1_1units.html">units</a>      </li>
      <li class="navelem"><a class="el" href="structmoltk_1_1units_1_1Quantity.html">Quantity</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#friends">Friends</a>  </div>
  <div class="headertitle">
<div class="title">moltk::units::Quantity&lt; U, Y &gt; Struct Template Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="moltk::units::Quantity" -->
<p><a class="el" href="structmoltk_1_1units_1_1Quantity.html" title="Quantity represents a physical value with a unit, such as &quot;5.6 nanometers&quot;.">Quantity</a> represents a physical value with a unit, such as "5.6 nanometers".  
 <a href="structmoltk_1_1units_1_1Quantity.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="units_8hpp_source.html">units.hpp</a>&gt;</code></p>
<div class="dynheader">
Collaboration diagram for moltk::units::Quantity&lt; U, Y &gt;:</div>
<div class="dyncontent">
<div class="center"><img src="structmoltk_1_1units_1_1Quantity__coll__graph.png" border="0" usemap="#moltk_1_1units_1_1Quantity_3_01U_00_01Y_01_4_coll__map" alt="Collaboration graph"/></div>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="structmoltk_1_1units_1_1Quantity-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef U&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structmoltk_1_1units_1_1Quantity.html#a4e3905fd140d4a6b630a6a0b73a93bdf">UnitType</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef Y&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structmoltk_1_1units_1_1Quantity.html#aaa757baa200137d668c47d6d7c2c9d9e">ValueType</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="structmoltk_1_1units_1_1Quantity.html">Quantity</a>&lt; U, Y &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structmoltk_1_1units_1_1Quantity.html#a6a58dc9d5a0e3dfbad24bdb3ebe8f70a">ThisType</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="structmoltk_1_1units_1_1Quantity.html">Quantity</a>&lt; typename <br class="typebreak"/>
UnitType::SquareType, Y &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structmoltk_1_1units_1_1Quantity.html#ab8db4eeb0cf1adc544fec23c12c0c070">SquareType</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="structmoltk_1_1units_1_1Quantity.html">Quantity</a>&lt; typename <br class="typebreak"/>
UnitType::SquareRootType, Y &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structmoltk_1_1units_1_1Quantity.html#a819bd6379a7cf717890d92d448439bab">SquareRootType</a></td></tr>
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structmoltk_1_1units_1_1Quantity.html#a87d1fc102beac6ccb571eff3e16c8e80">Quantity</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structmoltk_1_1units_1_1Quantity.html#a36143fa96a1946d55240228a1e9082b1">Quantity</a> (const Y &amp;v, const U &amp;u)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structmoltk_1_1units_1_1Quantity.html#a1da8e7739983f5da248e6e61fc173610">Quantity</a> (const <a class="el" href="structmoltk_1_1units_1_1Quantity.html#a6a58dc9d5a0e3dfbad24bdb3ebe8f70a">ThisType</a> &amp;rhs)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="structmoltk_1_1units_1_1Quantity.html#a6a58dc9d5a0e3dfbad24bdb3ebe8f70a">ThisType</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structmoltk_1_1units_1_1Quantity.html#ae79595506749bea30196c86eb176d4a0">operator=</a> (const <a class="el" href="structmoltk_1_1units_1_1Quantity.html#a6a58dc9d5a0e3dfbad24bdb3ebe8f70a">ThisType</a> &amp;rhs)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="structmoltk_1_1units_1_1Quantity.html#a6a58dc9d5a0e3dfbad24bdb3ebe8f70a">ThisType</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structmoltk_1_1units_1_1Quantity.html#ad1a558068ed9901932abeead3f4399af">operator+</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="structmoltk_1_1units_1_1Quantity.html#a6a58dc9d5a0e3dfbad24bdb3ebe8f70a">ThisType</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structmoltk_1_1units_1_1Quantity.html#a77ab97cc7b61aee849498349049c87df">operator+</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="structmoltk_1_1units_1_1Quantity.html#a6a58dc9d5a0e3dfbad24bdb3ebe8f70a">ThisType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structmoltk_1_1units_1_1Quantity.html#ad8d175490ad7205edef7183f21399781">operator-</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="structmoltk_1_1units_1_1Quantity.html#a6a58dc9d5a0e3dfbad24bdb3ebe8f70a">ThisType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structmoltk_1_1units_1_1Quantity.html#a02b501904dd261e8a12281e37dd653ba">operator+</a> (const <a class="el" href="structmoltk_1_1units_1_1Quantity.html#a6a58dc9d5a0e3dfbad24bdb3ebe8f70a">ThisType</a> &amp;rhs) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="structmoltk_1_1units_1_1Quantity.html#a6a58dc9d5a0e3dfbad24bdb3ebe8f70a">ThisType</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structmoltk_1_1units_1_1Quantity.html#a097b0ea7e5960b91604d1b8d9d1a301f">operator+=</a> (const <a class="el" href="structmoltk_1_1units_1_1Quantity.html#a6a58dc9d5a0e3dfbad24bdb3ebe8f70a">ThisType</a> &amp;rhs)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="structmoltk_1_1units_1_1Quantity.html#a6a58dc9d5a0e3dfbad24bdb3ebe8f70a">ThisType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structmoltk_1_1units_1_1Quantity.html#ad60a3518389c50d644c595d6c8df0ca3">operator-</a> (const <a class="el" href="structmoltk_1_1units_1_1Quantity.html#a6a58dc9d5a0e3dfbad24bdb3ebe8f70a">ThisType</a> &amp;rhs) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="structmoltk_1_1units_1_1Quantity.html#a6a58dc9d5a0e3dfbad24bdb3ebe8f70a">ThisType</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structmoltk_1_1units_1_1Quantity.html#a5eec38f98100ae0c1521f4cdf562620d">operator-=</a> (const <a class="el" href="structmoltk_1_1units_1_1Quantity.html#a6a58dc9d5a0e3dfbad24bdb3ebe8f70a">ThisType</a> &amp;rhs)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="structmoltk_1_1units_1_1Quantity.html#a6a58dc9d5a0e3dfbad24bdb3ebe8f70a">ThisType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structmoltk_1_1units_1_1Quantity.html#af27cc99b7d32f0b34b3bd2333e300aeb">operator*</a> (<a class="el" href="namespacemoltk.html#afe6fbd8f5686b34143c2742fcc97292c">Real</a> rhs) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="structmoltk_1_1units_1_1Quantity.html#a6a58dc9d5a0e3dfbad24bdb3ebe8f70a">ThisType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structmoltk_1_1units_1_1Quantity.html#a4c24e239dc561f3b75f25091e9aab069">operator*=</a> (<a class="el" href="namespacemoltk.html#afe6fbd8f5686b34143c2742fcc97292c">Real</a> rhs)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="structmoltk_1_1units_1_1Quantity.html#a6a58dc9d5a0e3dfbad24bdb3ebe8f70a">ThisType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structmoltk_1_1units_1_1Quantity.html#a6e64d268e7e3228f07f4342fe519503f">operator/</a> (<a class="el" href="namespacemoltk.html#afe6fbd8f5686b34143c2742fcc97292c">Real</a> rhs) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="structmoltk_1_1units_1_1Quantity.html#a6a58dc9d5a0e3dfbad24bdb3ebe8f70a">ThisType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structmoltk_1_1units_1_1Quantity.html#ab58d874dedcaafc170d0fd5bf7ec8e32">operator/=</a> (<a class="el" href="namespacemoltk.html#afe6fbd8f5686b34143c2742fcc97292c">Real</a> rhs)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Y&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structmoltk_1_1units_1_1Quantity.html#a5145bbae1ab8e4e6ec19406444d33116">operator/</a> (const U &amp;rhs) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Y&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structmoltk_1_1units_1_1Quantity.html#af4917e20cd799687b98f8c35ffde3864">operator/</a> (const <a class="el" href="structmoltk_1_1units_1_1Quantity.html#a6a58dc9d5a0e3dfbad24bdb3ebe8f70a">ThisType</a> &amp;rhs) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structmoltk_1_1units_1_1Quantity.html#a27921a4cf8c63864b769ad7976cbe46b">operator==</a> (const <a class="el" href="structmoltk_1_1units_1_1Quantity.html#a6a58dc9d5a0e3dfbad24bdb3ebe8f70a">ThisType</a> &amp;rhs) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structmoltk_1_1units_1_1Quantity.html#a72197a47bfe285299e5a69331cd98f3c">operator!=</a> (const <a class="el" href="structmoltk_1_1units_1_1Quantity.html#a6a58dc9d5a0e3dfbad24bdb3ebe8f70a">ThisType</a> &amp;rhs) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structmoltk_1_1units_1_1Quantity.html#aa6847d2ba5b7a0138d8665ca0f8ce761">operator&lt;</a> (const <a class="el" href="structmoltk_1_1units_1_1Quantity.html#a6a58dc9d5a0e3dfbad24bdb3ebe8f70a">ThisType</a> &amp;rhs) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structmoltk_1_1units_1_1Quantity.html#acbce9fad1f4e1212db36ae2a6c743da4">operator&gt;</a> (const <a class="el" href="structmoltk_1_1units_1_1Quantity.html#a6a58dc9d5a0e3dfbad24bdb3ebe8f70a">ThisType</a> &amp;rhs) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structmoltk_1_1units_1_1Quantity.html#a1c7751da671d42bd317a61cc842e71dc">operator&lt;=</a> (const <a class="el" href="structmoltk_1_1units_1_1Quantity.html#a6a58dc9d5a0e3dfbad24bdb3ebe8f70a">ThisType</a> &amp;rhs) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structmoltk_1_1units_1_1Quantity.html#a621e1c64967405195e8d78ef9b999917">operator&gt;=</a> (const <a class="el" href="structmoltk_1_1units_1_1Quantity.html#a6a58dc9d5a0e3dfbad24bdb3ebe8f70a">ThisType</a> &amp;rhs) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="structmoltk_1_1units_1_1Quantity.html#aaa757baa200137d668c47d6d7c2c9d9e">ValueType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structmoltk_1_1units_1_1Quantity.html#a1b5c68279b4d51911fea08b5b5ecc3f4">value_in_unit</a> (const <a class="el" href="structmoltk_1_1units_1_1Quantity.html#a4e3905fd140d4a6b630a6a0b73a93bdf">UnitType</a> &amp;) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Proper way to extract value attribute - tell me the unit first.  <a href="#a1b5c68279b4d51911fea08b5b5ecc3f4"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="structmoltk_1_1units_1_1Quantity.html#aaa757baa200137d668c47d6d7c2c9d9e">ValueType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structmoltk_1_1units_1_1Quantity.html#afaf8597b93b604c3980218dceefff4c8">value</a></td></tr>
<tr><td colspan="2"><h2><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structmoltk_1_1units_1_1Quantity.html#a44d541571f12421505b168b2c8287aeb">Quantity</a> (const Y &amp;v)</td></tr>
<tr><td colspan="2"><h2><a name="friends"></a>
Friends</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="structmoltk_1_1units_1_1Quantity.html#a6a58dc9d5a0e3dfbad24bdb3ebe8f70a">ThisType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structmoltk_1_1units_1_1Quantity.html#a520dd177b7efb60cf036c290f15a6ffc">operator*</a> (<a class="el" href="namespacemoltk.html#afe6fbd8f5686b34143c2742fcc97292c">moltk::Real</a> lhs, const <a class="el" href="structmoltk_1_1units_1_1Quantity.html#a6a58dc9d5a0e3dfbad24bdb3ebe8f70a">ThisType</a> &amp;rhs)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">std::ostream &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structmoltk_1_1units_1_1Quantity.html#ac57b7359fc8745ea384f7f44beef89f4">operator&lt;&lt;</a> (std::ostream &amp;os, const <a class="el" href="structmoltk_1_1units_1_1Quantity.html#a6a58dc9d5a0e3dfbad24bdb3ebe8f70a">ThisType</a> &amp;q)</td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><h3>template&lt;class U, class Y = Real&gt;<br/>
struct moltk::units::Quantity&lt; U, Y &gt;</h3>

<p><a class="el" href="structmoltk_1_1units_1_1Quantity.html" title="Quantity represents a physical value with a unit, such as &quot;5.6 nanometers&quot;.">Quantity</a> represents a physical value with a unit, such as "5.6 nanometers". </p>
<p>For efficiency, Quantity&lt;&gt; should compile to a double in C++. This means: no virtual methods no data members other than "value" unit is a class with a typedef These restrictions need not apply to unit class, which should do whatever it needs to, to be wrapped conveniently in python. </p>
</div><hr/><h2>Member Typedef Documentation</h2>
<a class="anchor" id="a819bd6379a7cf717890d92d448439bab"></a><!-- doxytag: member="moltk::units::Quantity::SquareRootType" ref="a819bd6379a7cf717890d92d448439bab" args="" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class U, class Y = Real&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="structmoltk_1_1units_1_1Quantity.html">Quantity</a>&lt;typename UnitType::SquareRootType, Y&gt; <a class="el" href="structmoltk_1_1units_1_1Quantity.html">moltk::units::Quantity</a>&lt; U, Y &gt;::<a class="el" href="structmoltk_1_1units_1_1Quantity.html#a819bd6379a7cf717890d92d448439bab">SquareRootType</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ab8db4eeb0cf1adc544fec23c12c0c070"></a><!-- doxytag: member="moltk::units::Quantity::SquareType" ref="ab8db4eeb0cf1adc544fec23c12c0c070" args="" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class U, class Y = Real&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="structmoltk_1_1units_1_1Quantity.html">Quantity</a>&lt;typename UnitType::SquareType, Y&gt; <a class="el" href="structmoltk_1_1units_1_1Quantity.html">moltk::units::Quantity</a>&lt; U, Y &gt;::<a class="el" href="structmoltk_1_1units_1_1Quantity.html#ab8db4eeb0cf1adc544fec23c12c0c070">SquareType</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a6a58dc9d5a0e3dfbad24bdb3ebe8f70a"></a><!-- doxytag: member="moltk::units::Quantity::ThisType" ref="a6a58dc9d5a0e3dfbad24bdb3ebe8f70a" args="" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class U, class Y = Real&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="structmoltk_1_1units_1_1Quantity.html">Quantity</a>&lt;U,Y&gt; <a class="el" href="structmoltk_1_1units_1_1Quantity.html">moltk::units::Quantity</a>&lt; U, Y &gt;::<a class="el" href="structmoltk_1_1units_1_1Quantity.html#a6a58dc9d5a0e3dfbad24bdb3ebe8f70a">ThisType</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a4e3905fd140d4a6b630a6a0b73a93bdf"></a><!-- doxytag: member="moltk::units::Quantity::UnitType" ref="a4e3905fd140d4a6b630a6a0b73a93bdf" args="" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class U, class Y = Real&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef U <a class="el" href="structmoltk_1_1units_1_1Quantity.html">moltk::units::Quantity</a>&lt; U, Y &gt;::<a class="el" href="structmoltk_1_1units_1_1Quantity.html#a4e3905fd140d4a6b630a6a0b73a93bdf">UnitType</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="aaa757baa200137d668c47d6d7c2c9d9e"></a><!-- doxytag: member="moltk::units::Quantity::ValueType" ref="aaa757baa200137d668c47d6d7c2c9d9e" args="" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class U, class Y = Real&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef Y <a class="el" href="structmoltk_1_1units_1_1Quantity.html">moltk::units::Quantity</a>&lt; U, Y &gt;::<a class="el" href="structmoltk_1_1units_1_1Quantity.html#aaa757baa200137d668c47d6d7c2c9d9e">ValueType</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a87d1fc102beac6ccb571eff3e16c8e80"></a><!-- doxytag: member="moltk::units::Quantity::Quantity" ref="a87d1fc102beac6ccb571eff3e16c8e80" args="()" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class U, class Y = Real&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structmoltk_1_1units_1_1Quantity.html">moltk::units::Quantity</a>&lt; U, Y &gt;::<a class="el" href="structmoltk_1_1units_1_1Quantity.html">Quantity</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a36143fa96a1946d55240228a1e9082b1"></a><!-- doxytag: member="moltk::units::Quantity::Quantity" ref="a36143fa96a1946d55240228a1e9082b1" args="(const Y &amp;v, const U &amp;u)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class U, class Y = Real&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structmoltk_1_1units_1_1Quantity.html">moltk::units::Quantity</a>&lt; U, Y &gt;::<a class="el" href="structmoltk_1_1units_1_1Quantity.html">Quantity</a> </td>
          <td>(</td>
          <td class="paramtype">const Y &amp;&#160;</td>
          <td class="paramname"><em>v</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const U &amp;&#160;</td>
          <td class="paramname"><em>u</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a1da8e7739983f5da248e6e61fc173610"></a><!-- doxytag: member="moltk::units::Quantity::Quantity" ref="a1da8e7739983f5da248e6e61fc173610" args="(const ThisType &amp;rhs)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class U, class Y = Real&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structmoltk_1_1units_1_1Quantity.html">moltk::units::Quantity</a>&lt; U, Y &gt;::<a class="el" href="structmoltk_1_1units_1_1Quantity.html">Quantity</a> </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structmoltk_1_1units_1_1Quantity.html#a6a58dc9d5a0e3dfbad24bdb3ebe8f70a">ThisType</a> &amp;&#160;</td>
          <td class="paramname"><em>rhs</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a44d541571f12421505b168b2c8287aeb"></a><!-- doxytag: member="moltk::units::Quantity::Quantity" ref="a44d541571f12421505b168b2c8287aeb" args="(const Y &amp;v)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class U, class Y = Real&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structmoltk_1_1units_1_1Quantity.html">moltk::units::Quantity</a>&lt; U, Y &gt;::<a class="el" href="structmoltk_1_1units_1_1Quantity.html">Quantity</a> </td>
          <td>(</td>
          <td class="paramtype">const Y &amp;&#160;</td>
          <td class="paramname"><em>v</em></td><td>)</td>
          <td><code> [inline, explicit, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a72197a47bfe285299e5a69331cd98f3c"></a><!-- doxytag: member="moltk::units::Quantity::operator!=" ref="a72197a47bfe285299e5a69331cd98f3c" args="(const ThisType &amp;rhs) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class U, class Y = Real&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="structmoltk_1_1units_1_1Quantity.html">moltk::units::Quantity</a>&lt; U, Y &gt;::operator!= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structmoltk_1_1units_1_1Quantity.html#a6a58dc9d5a0e3dfbad24bdb3ebe8f70a">ThisType</a> &amp;&#160;</td>
          <td class="paramname"><em>rhs</em></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="af27cc99b7d32f0b34b3bd2333e300aeb"></a><!-- doxytag: member="moltk::units::Quantity::operator*" ref="af27cc99b7d32f0b34b3bd2333e300aeb" args="(Real rhs) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class U, class Y = Real&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structmoltk_1_1units_1_1Quantity.html#a6a58dc9d5a0e3dfbad24bdb3ebe8f70a">ThisType</a> <a class="el" href="structmoltk_1_1units_1_1Quantity.html">moltk::units::Quantity</a>&lt; U, Y &gt;::operator* </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespacemoltk.html#afe6fbd8f5686b34143c2742fcc97292c">Real</a>&#160;</td>
          <td class="paramname"><em>rhs</em></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a4c24e239dc561f3b75f25091e9aab069"></a><!-- doxytag: member="moltk::units::Quantity::operator*=" ref="a4c24e239dc561f3b75f25091e9aab069" args="(Real rhs)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class U, class Y = Real&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structmoltk_1_1units_1_1Quantity.html#a6a58dc9d5a0e3dfbad24bdb3ebe8f70a">ThisType</a> <a class="el" href="structmoltk_1_1units_1_1Quantity.html">moltk::units::Quantity</a>&lt; U, Y &gt;::operator*= </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespacemoltk.html#afe6fbd8f5686b34143c2742fcc97292c">Real</a>&#160;</td>
          <td class="paramname"><em>rhs</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ad1a558068ed9901932abeead3f4399af"></a><!-- doxytag: member="moltk::units::Quantity::operator+" ref="ad1a558068ed9901932abeead3f4399af" args="() const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class U, class Y = Real&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="structmoltk_1_1units_1_1Quantity.html#a6a58dc9d5a0e3dfbad24bdb3ebe8f70a">ThisType</a>&amp; <a class="el" href="structmoltk_1_1units_1_1Quantity.html">moltk::units::Quantity</a>&lt; U, Y &gt;::operator+ </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a77ab97cc7b61aee849498349049c87df"></a><!-- doxytag: member="moltk::units::Quantity::operator+" ref="a77ab97cc7b61aee849498349049c87df" args="()" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class U, class Y = Real&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structmoltk_1_1units_1_1Quantity.html#a6a58dc9d5a0e3dfbad24bdb3ebe8f70a">ThisType</a>&amp; <a class="el" href="structmoltk_1_1units_1_1Quantity.html">moltk::units::Quantity</a>&lt; U, Y &gt;::operator+ </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a02b501904dd261e8a12281e37dd653ba"></a><!-- doxytag: member="moltk::units::Quantity::operator+" ref="a02b501904dd261e8a12281e37dd653ba" args="(const ThisType &amp;rhs) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class U, class Y = Real&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structmoltk_1_1units_1_1Quantity.html#a6a58dc9d5a0e3dfbad24bdb3ebe8f70a">ThisType</a> <a class="el" href="structmoltk_1_1units_1_1Quantity.html">moltk::units::Quantity</a>&lt; U, Y &gt;::operator+ </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structmoltk_1_1units_1_1Quantity.html#a6a58dc9d5a0e3dfbad24bdb3ebe8f70a">ThisType</a> &amp;&#160;</td>
          <td class="paramname"><em>rhs</em></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a097b0ea7e5960b91604d1b8d9d1a301f"></a><!-- doxytag: member="moltk::units::Quantity::operator+=" ref="a097b0ea7e5960b91604d1b8d9d1a301f" args="(const ThisType &amp;rhs)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class U, class Y = Real&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structmoltk_1_1units_1_1Quantity.html#a6a58dc9d5a0e3dfbad24bdb3ebe8f70a">ThisType</a>&amp; <a class="el" href="structmoltk_1_1units_1_1Quantity.html">moltk::units::Quantity</a>&lt; U, Y &gt;::operator+= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structmoltk_1_1units_1_1Quantity.html#a6a58dc9d5a0e3dfbad24bdb3ebe8f70a">ThisType</a> &amp;&#160;</td>
          <td class="paramname"><em>rhs</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ad8d175490ad7205edef7183f21399781"></a><!-- doxytag: member="moltk::units::Quantity::operator&#45;" ref="ad8d175490ad7205edef7183f21399781" args="() const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class U, class Y = Real&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structmoltk_1_1units_1_1Quantity.html#a6a58dc9d5a0e3dfbad24bdb3ebe8f70a">ThisType</a> <a class="el" href="structmoltk_1_1units_1_1Quantity.html">moltk::units::Quantity</a>&lt; U, Y &gt;::operator- </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ad60a3518389c50d644c595d6c8df0ca3"></a><!-- doxytag: member="moltk::units::Quantity::operator&#45;" ref="ad60a3518389c50d644c595d6c8df0ca3" args="(const ThisType &amp;rhs) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class U, class Y = Real&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structmoltk_1_1units_1_1Quantity.html#a6a58dc9d5a0e3dfbad24bdb3ebe8f70a">ThisType</a> <a class="el" href="structmoltk_1_1units_1_1Quantity.html">moltk::units::Quantity</a>&lt; U, Y &gt;::operator- </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structmoltk_1_1units_1_1Quantity.html#a6a58dc9d5a0e3dfbad24bdb3ebe8f70a">ThisType</a> &amp;&#160;</td>
          <td class="paramname"><em>rhs</em></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a5eec38f98100ae0c1521f4cdf562620d"></a><!-- doxytag: member="moltk::units::Quantity::operator&#45;=" ref="a5eec38f98100ae0c1521f4cdf562620d" args="(const ThisType &amp;rhs)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class U, class Y = Real&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structmoltk_1_1units_1_1Quantity.html#a6a58dc9d5a0e3dfbad24bdb3ebe8f70a">ThisType</a>&amp; <a class="el" href="structmoltk_1_1units_1_1Quantity.html">moltk::units::Quantity</a>&lt; U, Y &gt;::operator-= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structmoltk_1_1units_1_1Quantity.html#a6a58dc9d5a0e3dfbad24bdb3ebe8f70a">ThisType</a> &amp;&#160;</td>
          <td class="paramname"><em>rhs</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a6e64d268e7e3228f07f4342fe519503f"></a><!-- doxytag: member="moltk::units::Quantity::operator/" ref="a6e64d268e7e3228f07f4342fe519503f" args="(Real rhs) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class U, class Y = Real&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structmoltk_1_1units_1_1Quantity.html#a6a58dc9d5a0e3dfbad24bdb3ebe8f70a">ThisType</a> <a class="el" href="structmoltk_1_1units_1_1Quantity.html">moltk::units::Quantity</a>&lt; U, Y &gt;::operator/ </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespacemoltk.html#afe6fbd8f5686b34143c2742fcc97292c">Real</a>&#160;</td>
          <td class="paramname"><em>rhs</em></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a5145bbae1ab8e4e6ec19406444d33116"></a><!-- doxytag: member="moltk::units::Quantity::operator/" ref="a5145bbae1ab8e4e6ec19406444d33116" args="(const U &amp;rhs) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class U, class Y = Real&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">Y <a class="el" href="structmoltk_1_1units_1_1Quantity.html">moltk::units::Quantity</a>&lt; U, Y &gt;::operator/ </td>
          <td>(</td>
          <td class="paramtype">const U &amp;&#160;</td>
          <td class="paramname"><em>rhs</em></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="af4917e20cd799687b98f8c35ffde3864"></a><!-- doxytag: member="moltk::units::Quantity::operator/" ref="af4917e20cd799687b98f8c35ffde3864" args="(const ThisType &amp;rhs) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class U, class Y = Real&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">Y <a class="el" href="structmoltk_1_1units_1_1Quantity.html">moltk::units::Quantity</a>&lt; U, Y &gt;::operator/ </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structmoltk_1_1units_1_1Quantity.html#a6a58dc9d5a0e3dfbad24bdb3ebe8f70a">ThisType</a> &amp;&#160;</td>
          <td class="paramname"><em>rhs</em></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ab58d874dedcaafc170d0fd5bf7ec8e32"></a><!-- doxytag: member="moltk::units::Quantity::operator/=" ref="ab58d874dedcaafc170d0fd5bf7ec8e32" args="(Real rhs)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class U, class Y = Real&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structmoltk_1_1units_1_1Quantity.html#a6a58dc9d5a0e3dfbad24bdb3ebe8f70a">ThisType</a> <a class="el" href="structmoltk_1_1units_1_1Quantity.html">moltk::units::Quantity</a>&lt; U, Y &gt;::operator/= </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespacemoltk.html#afe6fbd8f5686b34143c2742fcc97292c">Real</a>&#160;</td>
          <td class="paramname"><em>rhs</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="aa6847d2ba5b7a0138d8665ca0f8ce761"></a><!-- doxytag: member="moltk::units::Quantity::operator&lt;" ref="aa6847d2ba5b7a0138d8665ca0f8ce761" args="(const ThisType &amp;rhs) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class U, class Y = Real&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="structmoltk_1_1units_1_1Quantity.html">moltk::units::Quantity</a>&lt; U, Y &gt;::operator&lt; </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structmoltk_1_1units_1_1Quantity.html#a6a58dc9d5a0e3dfbad24bdb3ebe8f70a">ThisType</a> &amp;&#160;</td>
          <td class="paramname"><em>rhs</em></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a1c7751da671d42bd317a61cc842e71dc"></a><!-- doxytag: member="moltk::units::Quantity::operator&lt;=" ref="a1c7751da671d42bd317a61cc842e71dc" args="(const ThisType &amp;rhs) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class U, class Y = Real&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="structmoltk_1_1units_1_1Quantity.html">moltk::units::Quantity</a>&lt; U, Y &gt;::operator&lt;= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structmoltk_1_1units_1_1Quantity.html#a6a58dc9d5a0e3dfbad24bdb3ebe8f70a">ThisType</a> &amp;&#160;</td>
          <td class="paramname"><em>rhs</em></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ae79595506749bea30196c86eb176d4a0"></a><!-- doxytag: member="moltk::units::Quantity::operator=" ref="ae79595506749bea30196c86eb176d4a0" args="(const ThisType &amp;rhs)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class U, class Y = Real&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structmoltk_1_1units_1_1Quantity.html#a6a58dc9d5a0e3dfbad24bdb3ebe8f70a">ThisType</a>&amp; <a class="el" href="structmoltk_1_1units_1_1Quantity.html">moltk::units::Quantity</a>&lt; U, Y &gt;::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structmoltk_1_1units_1_1Quantity.html#a6a58dc9d5a0e3dfbad24bdb3ebe8f70a">ThisType</a> &amp;&#160;</td>
          <td class="paramname"><em>rhs</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a27921a4cf8c63864b769ad7976cbe46b"></a><!-- doxytag: member="moltk::units::Quantity::operator==" ref="a27921a4cf8c63864b769ad7976cbe46b" args="(const ThisType &amp;rhs) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class U, class Y = Real&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="structmoltk_1_1units_1_1Quantity.html">moltk::units::Quantity</a>&lt; U, Y &gt;::operator== </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structmoltk_1_1units_1_1Quantity.html#a6a58dc9d5a0e3dfbad24bdb3ebe8f70a">ThisType</a> &amp;&#160;</td>
          <td class="paramname"><em>rhs</em></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="acbce9fad1f4e1212db36ae2a6c743da4"></a><!-- doxytag: member="moltk::units::Quantity::operator&gt;" ref="acbce9fad1f4e1212db36ae2a6c743da4" args="(const ThisType &amp;rhs) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class U, class Y = Real&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="structmoltk_1_1units_1_1Quantity.html">moltk::units::Quantity</a>&lt; U, Y &gt;::operator&gt; </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structmoltk_1_1units_1_1Quantity.html#a6a58dc9d5a0e3dfbad24bdb3ebe8f70a">ThisType</a> &amp;&#160;</td>
          <td class="paramname"><em>rhs</em></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a621e1c64967405195e8d78ef9b999917"></a><!-- doxytag: member="moltk::units::Quantity::operator&gt;=" ref="a621e1c64967405195e8d78ef9b999917" args="(const ThisType &amp;rhs) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class U, class Y = Real&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="structmoltk_1_1units_1_1Quantity.html">moltk::units::Quantity</a>&lt; U, Y &gt;::operator&gt;= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structmoltk_1_1units_1_1Quantity.html#a6a58dc9d5a0e3dfbad24bdb3ebe8f70a">ThisType</a> &amp;&#160;</td>
          <td class="paramname"><em>rhs</em></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a1b5c68279b4d51911fea08b5b5ecc3f4"></a><!-- doxytag: member="moltk::units::Quantity::value_in_unit" ref="a1b5c68279b4d51911fea08b5b5ecc3f4" args="(const UnitType &amp;) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class U, class Y = Real&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structmoltk_1_1units_1_1Quantity.html#aaa757baa200137d668c47d6d7c2c9d9e">ValueType</a> <a class="el" href="structmoltk_1_1units_1_1Quantity.html">moltk::units::Quantity</a>&lt; U, Y &gt;::value_in_unit </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structmoltk_1_1units_1_1Quantity.html#a4e3905fd140d4a6b630a6a0b73a93bdf">UnitType</a> &amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Proper way to extract value attribute - tell me the unit first. </p>
<p>TODO - unit conversion </p>

</div>
</div>
<hr/><h2>Friends And Related Function Documentation</h2>
<a class="anchor" id="a520dd177b7efb60cf036c290f15a6ffc"></a><!-- doxytag: member="moltk::units::Quantity::operator*" ref="a520dd177b7efb60cf036c290f15a6ffc" args="(moltk::Real lhs, const ThisType &amp;rhs)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class U, class Y = Real&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structmoltk_1_1units_1_1Quantity.html#a6a58dc9d5a0e3dfbad24bdb3ebe8f70a">ThisType</a> operator* </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespacemoltk.html#afe6fbd8f5686b34143c2742fcc97292c">moltk::Real</a>&#160;</td>
          <td class="paramname"><em>lhs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structmoltk_1_1units_1_1Quantity.html#a6a58dc9d5a0e3dfbad24bdb3ebe8f70a">ThisType</a> &amp;&#160;</td>
          <td class="paramname"><em>rhs</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [friend]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ac57b7359fc8745ea384f7f44beef89f4"></a><!-- doxytag: member="moltk::units::Quantity::operator&lt;&lt;" ref="ac57b7359fc8745ea384f7f44beef89f4" args="(std::ostream &amp;os, const ThisType &amp;q)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class U, class Y = Real&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">std::ostream&amp; operator&lt;&lt; </td>
          <td>(</td>
          <td class="paramtype">std::ostream &amp;&#160;</td>
          <td class="paramname"><em>os</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structmoltk_1_1units_1_1Quantity.html#a6a58dc9d5a0e3dfbad24bdb3ebe8f70a">ThisType</a> &amp;&#160;</td>
          <td class="paramname"><em>q</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [friend]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="afaf8597b93b604c3980218dceefff4c8"></a><!-- doxytag: member="moltk::units::Quantity::value" ref="afaf8597b93b604c3980218dceefff4c8" args="" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class U, class Y = Real&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structmoltk_1_1units_1_1Quantity.html#aaa757baa200137d668c47d6d7c2c9d9e">ValueType</a> <a class="el" href="structmoltk_1_1units_1_1Quantity.html">moltk::units::Quantity</a>&lt; U, Y &gt;::<a class="el" href="structmoltk_1_1units_1_1Quantity.html#afaf8597b93b604c3980218dceefff4c8">value</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li>moltk/<a class="el" href="units_8hpp_source.html">units.hpp</a></li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Friends</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.5.1
</small></address>

</body>
</html>
